package com.mdinfo.gw.door.bean

import com.baomidou.mybatisplus.activerecord.Model
import com.baomidou.mybatisplus.annotations.TableName
import java.io.Serializable
import java.util.*

/**
 * Created by Administrator on 2018/2/6.
 * 门卡和门,以及开放时间绑定
 */
@TableName("door_card_time_bind")
data class DoorCardTimeBind(
        var id:Int? = null,
        var timeId:Int? = null,         //开放时间id
        var cardId:Int? = null,          //卡id
        var createTime: Date? = null    //绑定时间
) :Model<DoorCardTimeBind>(){
    override fun pkVal(): Serializable {
        return this.id!!
    }
}